clear; clc;
ni = EquipmentControl.NIDAQ.NIUSB6366('dev1');
ni.addInputChannel(0:3).setChannelNameList({'ch0', 'ch1', 'ch2', 'ch3'})
ni.setSampling(1000, 10e3, 0.1);
ni.startScope();